package jude.java.money.black;

import org.apache.commons.lang.StringUtils;

public class RegularExpression {

	private String start;
	private String regexp;
	private String end;
	
	public RegularExpression() {
	}
	
	public RegularExpression(String tagName, String regexp) {
		if (StringUtils.isNotEmpty(tagName)) {
			start = "<" + tagName;
			end = "</" + tagName + ">";
		}
		this.regexp = regexp;
	}
	
	public RegularExpression(String start, String regexp, String end) {
		this.start = start;
		this.regexp = regexp;
		this.end = end;
	}
	

	public String getStart() {
		return start;
	}

	public void setStart(String start) {
		this.start = start;
	}

	public String getRegexp() {
		return regexp;
	}

	public void setRegexp(String regexp) {
		this.regexp = regexp;
	}

	public String getEnd() {
		return end;
	}

	public void setEnd(String end) {
		this.end = end;
	}

	
}
